﻿using System;
using System.ComponentModel;
using System.ComponentModel.Design;
using System.Collections;
using System.Drawing;
using System.Reflection;
using System.Workflow.ComponentModel.Compiler;
using System.Workflow.ComponentModel.Serialization;
using System.Workflow.ComponentModel;
using System.Workflow.ComponentModel.Design;
using System.Workflow.Runtime;
using System.Workflow.Activities;
using System.Workflow.Activities.Rules;

namespace MailCrawler.Workflow
{
    partial class CheckerWorkflow
    {
        #region Designer generated code

        /// <summary> 
        /// Required method for Designer support - do not modify 
        /// the contents of this method with the code editor.
        /// </summary>
        [System.Diagnostics.DebuggerNonUserCode]
        private void InitializeComponent()
        {
            this.CanModifyActivities = true;
            System.Workflow.ComponentModel.ActivityBind activitybind1 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.WorkflowParameterBinding workflowparameterbinding1 = new System.Workflow.ComponentModel.WorkflowParameterBinding();
            System.Workflow.ComponentModel.ActivityBind activitybind2 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind3 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.WorkflowParameterBinding workflowparameterbinding2 = new System.Workflow.ComponentModel.WorkflowParameterBinding();
            System.Workflow.ComponentModel.ActivityBind activitybind4 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.WorkflowParameterBinding workflowparameterbinding3 = new System.Workflow.ComponentModel.WorkflowParameterBinding();
            System.Workflow.ComponentModel.WorkflowParameterBinding workflowparameterbinding4 = new System.Workflow.ComponentModel.WorkflowParameterBinding();
            System.Workflow.Activities.Rules.RuleConditionReference ruleconditionreference1 = new System.Workflow.Activities.Rules.RuleConditionReference();
            System.Workflow.ComponentModel.ActivityBind activitybind5 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.WorkflowParameterBinding workflowparameterbinding5 = new System.Workflow.ComponentModel.WorkflowParameterBinding();
            System.Workflow.ComponentModel.ActivityBind activitybind6 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.WorkflowParameterBinding workflowparameterbinding6 = new System.Workflow.ComponentModel.WorkflowParameterBinding();
            System.Workflow.Activities.Rules.RuleConditionReference ruleconditionreference2 = new System.Workflow.Activities.Rules.RuleConditionReference();
            System.Workflow.ComponentModel.ActivityBind activitybind7 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.WorkflowParameterBinding workflowparameterbinding7 = new System.Workflow.ComponentModel.WorkflowParameterBinding();
            System.Workflow.ComponentModel.ActivityBind activitybind8 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.WorkflowParameterBinding workflowparameterbinding8 = new System.Workflow.ComponentModel.WorkflowParameterBinding();
            System.Workflow.Activities.Rules.RuleConditionReference ruleconditionreference3 = new System.Workflow.Activities.Rules.RuleConditionReference();
            System.Workflow.Activities.Rules.RuleConditionReference ruleconditionreference4 = new System.Workflow.Activities.Rules.RuleConditionReference();
            System.Workflow.Activities.Rules.RuleConditionReference ruleconditionreference5 = new System.Workflow.Activities.Rules.RuleConditionReference();
            System.Workflow.Activities.Rules.RuleConditionReference ruleconditionreference6 = new System.Workflow.Activities.Rules.RuleConditionReference();
            this.callExternalMethodActivity2 = new System.Workflow.Activities.CallExternalMethodActivity();
            this.logActivity2 = new MailCrawler.Workflow.LogActivity();
            this.faultHandlersActivity4 = new System.Workflow.ComponentModel.FaultHandlersActivity();
            this.callExternalMethodActivity11 = new System.Workflow.Activities.CallExternalMethodActivity();
            this.callExternalMethodActivity10 = new System.Workflow.Activities.CallExternalMethodActivity();
            this.FindRuleMatch = new System.Workflow.Activities.CodeActivity();
            this.faultHandlerActivity2 = new System.Workflow.ComponentModel.FaultHandlerActivity();
            this.faultHandlerActivity1 = new System.Workflow.ComponentModel.FaultHandlerActivity();
            this.faultHandlersActivity3 = new System.Workflow.ComponentModel.FaultHandlersActivity();
            this.sequenceActivity2 = new System.Workflow.Activities.SequenceActivity();
            this.sequenceActivity3 = new System.Workflow.Activities.SequenceActivity();
            this.cancellationHandlerActivity1 = new System.Workflow.ComponentModel.CancellationHandlerActivity();
            this.faultHandlersActivity2 = new System.Workflow.ComponentModel.FaultHandlersActivity();
            this.callExternalMethodActivity1 = new System.Workflow.Activities.CallExternalMethodActivity();
            this.ClickOnMatchedLink = new System.Workflow.Activities.CodeActivity();
            this.cancellationHandlerActivity2 = new System.Workflow.ComponentModel.CancellationHandlerActivity();
            this.faultHandlersActivity1 = new System.Workflow.ComponentModel.FaultHandlersActivity();
            this.callExternalMethodActivity7 = new System.Workflow.Activities.CallExternalMethodActivity();
            this.DisconnectFromPOP3Service = new System.Workflow.Activities.CodeActivity();
            this.ForeachPOP3Message = new System.Workflow.Activities.WhileActivity();
            this.ConnectToPOP3Service = new System.Workflow.Activities.CodeActivity();
            this.callExternalMethodActivity5 = new System.Workflow.Activities.CallExternalMethodActivity();
            this.callExternalMethodActivity4 = new System.Workflow.Activities.CallExternalMethodActivity();
            this.DisconnectFromIMAPSerivce = new System.Workflow.Activities.CodeActivity();
            this.ForeachIMAPMessage = new System.Workflow.Activities.WhileActivity();
            this.callExternalMethodActivity9 = new System.Workflow.Activities.CallExternalMethodActivity();
            this.callExternalMethodActivity8 = new System.Workflow.Activities.CallExternalMethodActivity();
            this.ConnectToIMAPService = new System.Workflow.Activities.CodeActivity();
            this.ClickingOnMatches = new System.Workflow.Activities.SequenceActivity();
            this.POP3 = new System.Workflow.Activities.IfElseBranchActivity();
            this.IMAP = new System.Workflow.Activities.IfElseBranchActivity();
            this.ForeachMatch = new System.Workflow.Activities.WhileActivity();
            this.POP3orIMAP = new System.Workflow.Activities.IfElseActivity();
            this.GetEmail = new System.Workflow.Activities.CodeActivity();
            this.sequenceActivity1 = new System.Workflow.Activities.SequenceActivity();
            this.Always = new System.Workflow.Activities.WhileActivity();
            // 
            // callExternalMethodActivity2
            // 
            this.callExternalMethodActivity2.InterfaceType = typeof(MailCrawler.Workflow.IReturnMessaging);
            this.callExternalMethodActivity2.MethodName = "Error";
            this.callExternalMethodActivity2.Name = "callExternalMethodActivity2";
            activitybind1.Name = "CheckerWorkflow";
            activitybind1.Path = "Ex";
            workflowparameterbinding1.ParameterName = "ex";
            workflowparameterbinding1.SetBinding(System.Workflow.ComponentModel.WorkflowParameterBinding.ValueProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind1)));
            this.callExternalMethodActivity2.ParameterBindings.Add(workflowparameterbinding1);
            // 
            // logActivity2
            // 
            activitybind2.Name = "faultHandlerActivity1";
            activitybind2.Path = "Fault";
            this.logActivity2.Name = "logActivity2";
            this.logActivity2.SetBinding(MailCrawler.Workflow.LogActivity.ExProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind2)));
            // 
            // faultHandlersActivity4
            // 
            this.faultHandlersActivity4.Name = "faultHandlersActivity4";
            // 
            // callExternalMethodActivity11
            // 
            this.callExternalMethodActivity11.InterfaceType = typeof(MailCrawler.Workflow.IReturnMessaging);
            this.callExternalMethodActivity11.MethodName = "FoundedLinks";
            this.callExternalMethodActivity11.Name = "callExternalMethodActivity11";
            activitybind3.Name = "CheckerWorkflow";
            activitybind3.Path = "MatchesCountFoundLast";
            workflowparameterbinding2.ParameterName = "count";
            workflowparameterbinding2.SetBinding(System.Workflow.ComponentModel.WorkflowParameterBinding.ValueProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind3)));
            this.callExternalMethodActivity11.ParameterBindings.Add(workflowparameterbinding2);
            // 
            // callExternalMethodActivity10
            // 
            this.callExternalMethodActivity10.InterfaceType = typeof(MailCrawler.Workflow.IReturnMessaging);
            this.callExternalMethodActivity10.MethodName = "CheckedOneMail";
            this.callExternalMethodActivity10.Name = "callExternalMethodActivity10";
            // 
            // FindRuleMatch
            // 
            this.FindRuleMatch.Name = "FindRuleMatch";
            this.FindRuleMatch.ExecuteCode += new System.EventHandler(this.FindRuleMatch_ExecuteCode);
            // 
            // faultHandlerActivity2
            // 
            this.faultHandlerActivity2.Activities.Add(this.callExternalMethodActivity2);
            this.faultHandlerActivity2.FaultType = typeof(System.Exception);
            this.faultHandlerActivity2.Name = "faultHandlerActivity2";
            // 
            // faultHandlerActivity1
            // 
            this.faultHandlerActivity1.Activities.Add(this.logActivity2);
            this.faultHandlerActivity1.FaultType = typeof(System.Exception);
            this.faultHandlerActivity1.Name = "faultHandlerActivity1";
            // 
            // faultHandlersActivity3
            // 
            this.faultHandlersActivity3.Name = "faultHandlersActivity3";
            // 
            // sequenceActivity2
            // 
            this.sequenceActivity2.Activities.Add(this.FindRuleMatch);
            this.sequenceActivity2.Activities.Add(this.callExternalMethodActivity10);
            this.sequenceActivity2.Activities.Add(this.callExternalMethodActivity11);
            this.sequenceActivity2.Activities.Add(this.faultHandlersActivity4);
            this.sequenceActivity2.Name = "sequenceActivity2";
            // 
            // sequenceActivity3
            // 
            this.sequenceActivity3.Name = "sequenceActivity3";
            // 
            // cancellationHandlerActivity1
            // 
            this.cancellationHandlerActivity1.Name = "cancellationHandlerActivity1";
            // 
            // faultHandlersActivity2
            // 
            this.faultHandlersActivity2.Activities.Add(this.faultHandlerActivity2);
            this.faultHandlersActivity2.Name = "faultHandlersActivity2";
            // 
            // callExternalMethodActivity1
            // 
            this.callExternalMethodActivity1.InterfaceType = typeof(MailCrawler.Workflow.IReturnMessaging);
            this.callExternalMethodActivity1.MethodName = "ClickedOneLink";
            this.callExternalMethodActivity1.Name = "callExternalMethodActivity1";
            activitybind4.Name = "CheckerWorkflow";
            activitybind4.Path = "Currentlink";
            workflowparameterbinding3.ParameterName = "link";
            workflowparameterbinding3.SetBinding(System.Workflow.ComponentModel.WorkflowParameterBinding.ValueProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind4)));
            this.callExternalMethodActivity1.ParameterBindings.Add(workflowparameterbinding3);
            // 
            // ClickOnMatchedLink
            // 
            this.ClickOnMatchedLink.Name = "ClickOnMatchedLink";
            this.ClickOnMatchedLink.ExecuteCode += new System.EventHandler(this.ClickOnMatchedLink_ExecuteCode);
            // 
            // cancellationHandlerActivity2
            // 
            this.cancellationHandlerActivity2.Name = "cancellationHandlerActivity2";
            // 
            // faultHandlersActivity1
            // 
            this.faultHandlersActivity1.Activities.Add(this.faultHandlerActivity1);
            this.faultHandlersActivity1.Name = "faultHandlersActivity1";
            // 
            // callExternalMethodActivity7
            // 
            this.callExternalMethodActivity7.InterfaceType = typeof(MailCrawler.Workflow.IReturnMessaging);
            this.callExternalMethodActivity7.MethodName = "Info";
            this.callExternalMethodActivity7.Name = "callExternalMethodActivity7";
            workflowparameterbinding4.ParameterName = "ex";
            workflowparameterbinding4.Value = "Disconnected from server";
            this.callExternalMethodActivity7.ParameterBindings.Add(workflowparameterbinding4);
            // 
            // DisconnectFromPOP3Service
            // 
            this.DisconnectFromPOP3Service.Name = "DisconnectFromPOP3Service";
            this.DisconnectFromPOP3Service.ExecuteCode += new System.EventHandler(this.DisconnectFromPOP3Service_ExecuteCode);
            // 
            // ForeachPOP3Message
            // 
            this.ForeachPOP3Message.Activities.Add(this.sequenceActivity2);
            this.ForeachPOP3Message.Activities.Add(this.faultHandlersActivity3);
            ruleconditionreference1.ConditionName = "CurrentMessageLessThenMessageCount";
            this.ForeachPOP3Message.Condition = ruleconditionreference1;
            this.ForeachPOP3Message.Name = "ForeachPOP3Message";
            // 
            // ConnectToPOP3Service
            // 
            this.ConnectToPOP3Service.Name = "ConnectToPOP3Service";
            this.ConnectToPOP3Service.ExecuteCode += new System.EventHandler(this.ConnectToPOP3Service_ExecuteCode);
            // 
            // callExternalMethodActivity5
            // 
            this.callExternalMethodActivity5.InterfaceType = typeof(MailCrawler.Workflow.IReturnMessaging);
            this.callExternalMethodActivity5.MethodName = "Info";
            this.callExternalMethodActivity5.Name = "callExternalMethodActivity5";
            activitybind5.Name = "CheckerWorkflow";
            activitybind5.Path = "CurrentEMail.Login";
            workflowparameterbinding5.ParameterName = "ex";
            workflowparameterbinding5.SetBinding(System.Workflow.ComponentModel.WorkflowParameterBinding.ValueProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind5)));
            this.callExternalMethodActivity5.ParameterBindings.Add(workflowparameterbinding5);
            // 
            // callExternalMethodActivity4
            // 
            this.callExternalMethodActivity4.InterfaceType = typeof(MailCrawler.Workflow.IReturnMessaging);
            this.callExternalMethodActivity4.MethodName = "Info";
            this.callExternalMethodActivity4.Name = "callExternalMethodActivity4";
            activitybind6.Name = "CheckerWorkflow";
            activitybind6.Path = "CurrentEMail.Server";
            workflowparameterbinding6.ParameterName = "ex";
            workflowparameterbinding6.SetBinding(System.Workflow.ComponentModel.WorkflowParameterBinding.ValueProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind6)));
            this.callExternalMethodActivity4.ParameterBindings.Add(workflowparameterbinding6);
            // 
            // DisconnectFromIMAPSerivce
            // 
            this.DisconnectFromIMAPSerivce.Name = "DisconnectFromIMAPSerivce";
            this.DisconnectFromIMAPSerivce.ExecuteCode += new System.EventHandler(this.DisconnectFromIMAPSerivce_ExecuteCode);
            // 
            // ForeachIMAPMessage
            // 
            this.ForeachIMAPMessage.Activities.Add(this.sequenceActivity3);
            ruleconditionreference2.ConditionName = "CurrentMessageLessThenMessageCount";
            this.ForeachIMAPMessage.Condition = ruleconditionreference2;
            this.ForeachIMAPMessage.Name = "ForeachIMAPMessage";
            // 
            // callExternalMethodActivity9
            // 
            this.callExternalMethodActivity9.InterfaceType = typeof(MailCrawler.Workflow.IReturnMessaging);
            this.callExternalMethodActivity9.MethodName = "Info";
            this.callExternalMethodActivity9.Name = "callExternalMethodActivity9";
            activitybind7.Name = "CheckerWorkflow";
            activitybind7.Path = "CurrentEMail.Login";
            workflowparameterbinding7.ParameterName = "ex";
            workflowparameterbinding7.SetBinding(System.Workflow.ComponentModel.WorkflowParameterBinding.ValueProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind7)));
            this.callExternalMethodActivity9.ParameterBindings.Add(workflowparameterbinding7);
            // 
            // callExternalMethodActivity8
            // 
            this.callExternalMethodActivity8.InterfaceType = typeof(MailCrawler.Workflow.IReturnMessaging);
            this.callExternalMethodActivity8.MethodName = "Info";
            this.callExternalMethodActivity8.Name = "callExternalMethodActivity8";
            activitybind8.Name = "CheckerWorkflow";
            activitybind8.Path = "CurrentEMail.Server";
            workflowparameterbinding8.ParameterName = "ex";
            workflowparameterbinding8.SetBinding(System.Workflow.ComponentModel.WorkflowParameterBinding.ValueProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind8)));
            this.callExternalMethodActivity8.ParameterBindings.Add(workflowparameterbinding8);
            // 
            // ConnectToIMAPService
            // 
            this.ConnectToIMAPService.Name = "ConnectToIMAPService";
            this.ConnectToIMAPService.ExecuteCode += new System.EventHandler(this.ConnectToIMAPService_ExecuteCode);
            // 
            // ClickingOnMatches
            // 
            this.ClickingOnMatches.Activities.Add(this.ClickOnMatchedLink);
            this.ClickingOnMatches.Activities.Add(this.callExternalMethodActivity1);
            this.ClickingOnMatches.Activities.Add(this.faultHandlersActivity2);
            this.ClickingOnMatches.Activities.Add(this.cancellationHandlerActivity1);
            this.ClickingOnMatches.Name = "ClickingOnMatches";
            // 
            // POP3
            // 
            this.POP3.Activities.Add(this.callExternalMethodActivity4);
            this.POP3.Activities.Add(this.callExternalMethodActivity5);
            this.POP3.Activities.Add(this.ConnectToPOP3Service);
            this.POP3.Activities.Add(this.ForeachPOP3Message);
            this.POP3.Activities.Add(this.DisconnectFromPOP3Service);
            this.POP3.Activities.Add(this.callExternalMethodActivity7);
            this.POP3.Activities.Add(this.faultHandlersActivity1);
            this.POP3.Activities.Add(this.cancellationHandlerActivity2);
            ruleconditionreference3.ConditionName = "IsPOP3Mail";
            this.POP3.Condition = ruleconditionreference3;
            this.POP3.Name = "POP3";
            // 
            // IMAP
            // 
            this.IMAP.Activities.Add(this.ConnectToIMAPService);
            this.IMAP.Activities.Add(this.callExternalMethodActivity8);
            this.IMAP.Activities.Add(this.callExternalMethodActivity9);
            this.IMAP.Activities.Add(this.ForeachIMAPMessage);
            this.IMAP.Activities.Add(this.DisconnectFromIMAPSerivce);
            ruleconditionreference4.ConditionName = "IsIMAPMail";
            this.IMAP.Condition = ruleconditionreference4;
            this.IMAP.Name = "IMAP";
            // 
            // ForeachMatch
            // 
            this.ForeachMatch.Activities.Add(this.ClickingOnMatches);
            ruleconditionreference5.ConditionName = "CurrentMatchLessThenMatchesCount";
            this.ForeachMatch.Condition = ruleconditionreference5;
            this.ForeachMatch.Name = "ForeachMatch";
            // 
            // POP3orIMAP
            // 
            this.POP3orIMAP.Activities.Add(this.IMAP);
            this.POP3orIMAP.Activities.Add(this.POP3);
            this.POP3orIMAP.Name = "POP3orIMAP";
            // 
            // GetEmail
            // 
            this.GetEmail.Name = "GetEmail";
            this.GetEmail.ExecuteCode += new System.EventHandler(this.GetEmail_ExecuteCode);
            // 
            // sequenceActivity1
            // 
            this.sequenceActivity1.Activities.Add(this.GetEmail);
            this.sequenceActivity1.Activities.Add(this.POP3orIMAP);
            this.sequenceActivity1.Activities.Add(this.ForeachMatch);
            this.sequenceActivity1.Name = "sequenceActivity1";
            // 
            // Always
            // 
            this.Always.Activities.Add(this.sequenceActivity1);
            ruleconditionreference6.ConditionName = "True";
            this.Always.Condition = ruleconditionreference6;
            this.Always.Name = "Always";
            // 
            // CheckerWorkflow
            // 
            this.Activities.Add(this.Always);
            this.Name = "CheckerWorkflow";
            this.CanModifyActivities = false;

        }

        #endregion

        private LogActivity logActivity2;
        private CancellationHandlerActivity cancellationHandlerActivity2;
        private FaultHandlersActivity faultHandlersActivity4;
        private FaultHandlersActivity faultHandlersActivity3;
        private CallExternalMethodActivity callExternalMethodActivity11;
        private CallExternalMethodActivity callExternalMethodActivity10;
        private CodeActivity DisconnectFromIMAPSerivce;
        private CallExternalMethodActivity callExternalMethodActivity9;
        private CallExternalMethodActivity callExternalMethodActivity8;
        private SequenceActivity sequenceActivity3;
        private WhileActivity ForeachIMAPMessage;
        private CodeActivity ConnectToIMAPService;
        private CancellationHandlerActivity cancellationHandlerActivity1;
        private SequenceActivity sequenceActivity2;
        private CallExternalMethodActivity callExternalMethodActivity4;
        private CallExternalMethodActivity callExternalMethodActivity5;
        private CallExternalMethodActivity callExternalMethodActivity7;
        private CallExternalMethodActivity callExternalMethodActivity2;
        private FaultHandlerActivity faultHandlerActivity2;
        private CallExternalMethodActivity callExternalMethodActivity1;
        private FaultHandlersActivity faultHandlersActivity2;
        private CodeActivity ClickOnMatchedLink;
        private WhileActivity ForeachMatch;
        private SequenceActivity ClickingOnMatches;
        private FaultHandlersActivity faultHandlersActivity1;
        private FaultHandlerActivity faultHandlerActivity1;
        private CodeActivity FindRuleMatch;
        private WhileActivity ForeachPOP3Message;
        private CodeActivity DisconnectFromPOP3Service;
        private CodeActivity GetEmail;
        private CodeActivity ConnectToPOP3Service;
        private SequenceActivity sequenceActivity1;
        private IfElseBranchActivity POP3;
        private IfElseBranchActivity IMAP;
        private IfElseActivity POP3orIMAP;
        private WhileActivity Always;

































































































    }
}
